package com.sky.mapper;

import com.sky.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * Author 喵喵喵
 * Date 2025/6/10 11:32
 */
@Mapper
public interface UserMapper {
    @Select("select * from user where  openid=openId")
    User getUserByOpenId(String openId);

    void saveUser(User user);
}
